package com.zhangtai.modules.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;


import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-06-15 11:54:06
 */
@Data
public class EmployessSocietyVo implements Serializable {
	private static final long serialVersionUID = 1L;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long oid;
	/**
	 * 员工Id
	 */
	@NotNull(message = "员工id不能为空")
	@ApiModelProperty(value="员工编号",required = true)
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long empoid;
	/**
	 * 任职单位
	 */
	@ApiModelProperty(value="任职单位",required = false)
	private String company;
	/**
	 * 任职部门
	 */
	@ApiModelProperty(value="任职部门",required = false)
	private String department;
	/**
	 * 入职日期
	 */
	@ApiModelProperty(value="入职日期",required = false)
	private Date begindate;
	/**
	 * 离职日期
	 */
	@ApiModelProperty(value="离职日期",required = false)
	private Date enddate;
	/**
	 * 任职岗位
	 */
	@ApiModelProperty(value="任职岗位",required = false)
	private String responsibility;
	/**
	 * 证明人
	 */
	@ApiModelProperty(value="证明人",required = false)
	private String witness;
	/**
	 * 证明人联系方式
	 */
	@ApiModelProperty(value="证明人联系方式",required = false)
	private String witnesscontact;



}
